package com.docmgmt.mvp.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * Create Tag Request
 *
 * @author Dora
 */
@Data
public class CreateTagRequest {

    @NotBlank(message = "Tag name cannot be empty")
    @Size(max = 50, message = "Tag name cannot exceed 50 characters")
    private String name;

    @Size(max = 20, message = "Color cannot exceed 20 characters")
    private String color;
}
